
// 存储聊天对象
export default {
  namespaced: true, // 开启命名空间
  state: {
    photo: localStorage.getItem('TT_PT') || ''

  },

  mutations: {
    setPhoto (state, payload) {
      state.photo = payload
      localStorage.setItem('TT_PT', payload)
    }
  }

}
